#include <QGuiApplication>
#include <QtQuick/QQuickView>
#include <QSurfaceFormat>
//-----------------------------------------------------------------------------//
int main( int argc, char** argv )
{
    QGuiApplication app(argc, argv);
    
    QQuickView view;
    view.setResizeMode( QQuickView::SizeRootObjectToView);

    view.setSource(QUrl::fromLocalFile( "qml/main.qml"));  
    
    QSurfaceFormat format;
    format.setAlphaBufferSize(8);
    view.setFormat(format);
    view.setColor( QColor(0,0,0,0));
    view.show();//FullScreen();
    
    return app.exec();
} 
